package com.tencent.qf.team.service;

import com.tencent.qf.mybatis.pojo.PageRequest;
import com.tencent.qf.mybatis.pojo.PageResult;
import com.tencent.qf.team.dal.DmAppLeaderTaskJoinRecord;
import com.tencent.qf.team.dto.request.LeaderTaskJoinRecordLeaderCountRequest;
import com.tencent.qf.team.dto.request.LeaderTaskJoinRecordUnJoinLeaderCountRequest;
import com.tencent.qf.team.dto.response.LeaderTaskJoinRecordLeaderCountResponse;

import java.util.List;

public interface LeaderTaskJoinRecordService {
    /**
     * 批量查找子任务下-可报名团长数
     *
     * @param request
     * @return
     */
    List<LeaderTaskJoinRecordLeaderCountResponse> listCanJoinTaskLeaderCount(LeaderTaskJoinRecordLeaderCountRequest request);

    /**
     * 未报名任务-团长列表(分页)
     *
     * @param request
     * @return
     */
    PageResult<DmAppLeaderTaskJoinRecord> listUnJoinTaskLeader(PageRequest<LeaderTaskJoinRecordUnJoinLeaderCountRequest> request);
}
